cmake_minimum_required(VERSION 3.12.4)
project(database_feed_manager_testtool)

if(FSANITIZE)
set(CMAKE_CXX_FLAGS_DEBUG "-g -fsanitize=address,leak,undefined")
endif()

link_directories(${SRC_FOLDER}/external/curl/lib/.libs/)

file(GLOB DATABASE_FEED_MANAGER_TESTTOOL_SRC
    "*.cpp"
    )

add_executable(${PROJECT_NAME}
    ${DATABASE_FEED_MANAGER_TESTTOOL_SRC}
    )

target_link_libraries(${PROJECT_NAME}
        database_feed
        indexer_connector
        router
        content_manager
        flatbuffers
        rocksdb
        urlrequest
        curl
)
